<?php
/**
 * Created by PhpStorm.
 * User: alice
 * Date: 2015/12/28
 * Time: 14:46
 */

class Involved_InvoiceModel extends BaseModel
{
    protected $table = 'invoice';

    /**
     * 列表
     * @return info
     */
    public function GetShippingDefault()
    {
        return  DB::table($this->table)
                ->select('invoice_id', 'invoice_type')
                ->where('is_default',1)
                ->first();
    }

}